QWidget#frmLogin,QWidget#frmPopup,QWidget#frmHostInfo,QWidget#frmLogout,QWidget#frmConfig,QWidget#frmData,QWidget#frmDefence,QWidget#frmHost,QWidget#frmMain,QWidget#frmPwd,QWidget#frmSelect,QWidget#frmMessageBox{
	border:1px solid #454648;
	border-radius:0px;	
}
QDialog#frmMessageBox{
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #444444, stop:1 #444444);
}
.QFrame{
	border:1px solid #222222;
	border-radius:5px;
}
QWidget#MianWindow,QWidget#tab,QWidget#tab_2,QWidget#tab_3,QWidget#tab_4{
	border: 2px solid #222222;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #222222, stop:1 #222222);
}

QWidget#widget_title{
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #333333, stop:1 #333333);
}
QTabWidget::pane { /* The tab widget frame */
    border-top: 2px solid #555555;
}

QTabWidget::tab-bar {
    left: 5px; /* move to the right by 5px */
}

QTabBar::tab {
	border-bottom-left-radius:0px;
	border-bottom-right-radius:0px;
	color: #BBBBBB;
	min-width: 60px;
	min-height: 20px;
	padding: 3px 8px 3px 8px;
	margin:1px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #222222, stop:1 #222222); 
}

QTabBar::tab:selected, QTabBar::tab:hover {
	color: #FFFFFF;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #777777, stop:1 #777777); 
}

QLabel{
	border-radius:0px;
	color: #BBBBBB;
	background-color:rgba(0,0,0,0);
	border-style:none;
}
QLabel#lab_Ico{
	border-radius:0px;
	color: #FFFFFF;
	background-color:rgba(0,0,0,0);
	border-style:none;
}
QLabel#lab_Title{
	border-radius:0px;
	color: #FFFFFF;
	background-color:rgba(0,0,0,0);
	border-style:none;
}

QLineEdit {
	border: 1px solid #444444;
	border-radius: 5px;
	padding: 2px;
	color: #BBBBBB;
	background: FFFFFF;
	selection-background-color: #33CCFF;
}

QLineEdit[echoMode="2"] { 
	lineedit-password-character: 9679; 
}

QTextBrowser {
	border: 1px solid #444444;
	border-radius: 5px;
	padding: 2px;
	color: #BBBBBB;
	background: #222222;
	selection-background-color: #33CCFF;
}

QTextBrowser[echoMode="2"] { 
	lineedit-password-character: 9679; 
}

/*QTextEdit, QListView,QTextBrowser{
	selection-background-color: #BBBBBB;
	color:#BBBBBB;
    background-color: #222222;
    background-attachment: scroll;
}*/


QGroupBox {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                      stop: 0 #222222, stop: 1 #222222);
    border: 2px solid #BBBBBB;
    border-radius: 5px;
    margin-top: 1ex; /* leave space at the top for the title */
}

QGroupBox::title {
    subcontrol-origin: margin;
    subcontrol-position: top center; /* position at the top center */
    padding: 0 3px;
	color:#BBBBBB;
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                      stop: 0 #222222, stop: 1 #222222);
}


.QPushButton{
	border-style: none;
	border: 0px;
	color: #AAAAAA;
	padding: 5px;	
	min-height: 20px;
	border-radius:5px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #444444, stop:1 #444444); 
}

.QPushButton[focusPolicy="0"] {
	border-style: none;
	border: 0px;
	color: #AAAAAA;
	padding: 0px;	
	min-height: 10px;
	border-radius:3px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #333333, stop:1 #333333); 
}

.QPushButton:hover{ 
	color: #FFFFFF;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #333333, stop:1 #333333); 
}

.QPushButton:pressed{ 
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #555555, stop:1 #555555);
}

QPushButtonn#btn_Skin,QPushButtonn#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{
	border-radius:0px;
	color: #BBBBBB;
	background-color:rgba(0,0,0,0);
	border-style:none;
}

QPushButton#btn_Skin:hover,QPushButtonn#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{
	background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(25, 134, 199, 0), stop:1 #BBBBBB);
}

QPushButton#btnMenu_Close:hover{
	background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255));
}



QRadioButton {
	spacing: 2px;
}

QRadioButton::indicator {
	width: 15px; 
	height: 15px; 
}

QRadioButton::indicator::unchecked {
	image: url(image/radio_normal.png); 
}

QRadioButton::indicator::checked {
	image: url(image/radio_selected.png); 
}

QComboBox {
    border: 1px solid #AAAAAA;
    border-radius: 3px;
    padding: 1px 18px 1px 3px;
	color: #BBBBBB;
}
QComboBox::hover{
  border-color:#FFFFFF;
}

QComboBox:editable{
    background: #222222;
}
/*未按下显示的背景颜色*/
QComboBox:!editable, QComboBox::drop-down:editable {
     background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                 stop: 0 #222222, stop: 0.4 #222222,
                                 stop: 0.5 #222222, stop: 1.0 #222222);
}
/*按下之后显示的背景颜色*/
/* QComboBox gets the "on" state when the popup is open */
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                stop: 0 #333333, stop: 0.4 #333333,
                                stop: 0.5 #333333, stop: 1.0 #333333);
}

QComboBox:on { /* shift the text when the popup opens */
    padding-top: 3px;
    padding-left: 4px;
}

QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 15px;

    border-left-width: 1px;
    border-left-color: #AAAAAA;
    border-left-style: solid; /* just a single line */
    border-top-right-radius: 3px; /* same radius as the QComboBox */
    border-bottom-right-radius: 3px;
}

QComboBox::down-arrow {
    image: url(image/array_down.png); 
}


 QComboBox::down-arrow:on { /* shift the arrow when popup is open */
     top: 1px;
     left: 1px;
 }

 QComboBox QAbstractItemView {
     border: 1px solid #AAAAAA;
	 color:#AAAAAA;
	 selection-color:#FFFFFF;
     selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                 stop: 0 #555555,
                                 stop: 1.0 #555555);
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                 stop: 0 #222222, stop: 0.4 #222222,
                                 stop: 0.5 #222222, stop: 1.0 #222222);
 }

 
QMenu {
	color:#BBBBBB;
	background-color:#222222;
	margin: 2px;
}

QMenu::item {	
	padding: 2px 12px 2px 12px;
}

QMenu::indicator {
	width: 13px;
	height: 13px;
}

QMenu::item:selected {
	color: #FFFFFF;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #222222, stop:1 #222222); 
}

QMenu::separator {
	height: 1px;
	background: #BBBBBB;
}

QProgressBar {
	border-radius: 5px;
	text-align: center;
	border: 1px solid #BBBBBB;
	background-color: #888888;
}

QProgressBar::chunk {
	width: 5px; 
	margin: 0.5px;
	background-color: #33CCFF;
}

QSlider::groove:horizontal,QSlider::add-page:horizontal { 
	background: #FFFFFF; 
	height: 8px; 
	border-radius: 3px; 
}

QSlider::sub-page:horizontal {
	height: 8px; 
	border-radius: 3px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A); 
}

QSlider::handle:horizontal {
	width: 13px; 
	margin-top: -3px; 
	margin-bottom: -3px; 
	border-radius: 6px;
	background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,stop:0.6 #F0F0F0, stop:0.778409 #BBBBBB);
}

QSlider::handle:horizontal:hover {
	background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #454648);
}

QSlider::groove:vertical,QSlider::sub-page:vertical {
	background:#808080; 
	width: 8px; 
	border-radius: 3px;
}

QSlider::add-page:vertical {
	width: 8px;
	border-radius: 3px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A); 
}

QSlider::handle:vertical {
	height: 14px; 
	margin-left: -3px;
	margin-right: -3px;
	border-radius: 6px;
	background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0, stop:0.778409 #BBBBBB);
}

QSlider::handle:vertical:hover {
	background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #454648);
}

QScrollBar:vertical {
	width:15px; 
	background-color:#BBBBBB; 
	padding-top:10px; 
	padding-bottom:10px;
}
QScrollBar::handle:vertical {
	width:10px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #BBBBBB, stop:1 #BBBBBB); 
}
QScrollBar::handle:vertical:hover {
	width:10px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #888888); 
}
QScrollBar::add-line:vertical {
	height:10px;
	width:10px;
	subcontrol-position: bottom; 
	subcontrol-origin: margin;
	border-image:url(image/add-line_vertical.png);
}
QScrollBar::sub-line:vertical {
	height:10px;
	width:10px;
	subcontrol-position: top; 
	subcontrol-origin: margin;
	border-image:url(image/sub-line_vertical.png);
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
	width:10px;
	background: #444444;
}

QScrollBar:horizontal {
	height:15px; 
	background-color:#BBBBBB; 
	padding-left:10px; padding-right:10px;
}
QScrollBar::handle:horizontal {
	height:10px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #BBBBBB, stop:1 #BBBBBB); 
}
QScrollBar::handle:horizontal:hover {
	height:10px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #888888); 
}
QScrollBar::add-line:horizontal {
	height:10px;
	width:10px;
	subcontrol-position: right;
	subcontrol-origin: margin;
	border-image:url(image/add-line_horizontal.png);
}
QScrollBar::sub-line:horizontal {
	height:10px;
	width:10px;
	subcontrol-position: left;
	subcontrol-origin: margin;
	border-image:url(image/sub-line_horizontal.png);
}
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
	height:10px;
	background: #444444;
}



QScrollArea {
	border: 0px ; 
}

QTreeView,QListView,QTableView{
	border: 1px solid #222222; 
	selection-background-color: #222222;
	selection-color: #222222;
	gridline-color:#BBBBBB;
	color:#BBBBBB;
	background:#222222;
}
/*tableview颜色设置*/
QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {
	color: #FFFFFF;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #33CCFF, stop:1 #33CCFF); 
}

QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {
	color: #222222;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #BBBBBB, stop:1 #BBBBBB); 
}

QTableView::item, QListView::item, QTreeView::item {
	padding: 5px; 
	margin: 0px; 
}
/*tableview表头*/
QHeaderView::section {
	padding:3px;
	margin:0px;
	color:#BBBBBB;
	border: 1px solid #BBBBBB;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #222222, stop:1 #222222);
}
/*tableview左上角那个全选位置*/
QTableView QTableCornerButton::section {
    background: #222222;
    border: 1px solid #BBBBBB;
}

QStatusBar::item {
     border: 1px solid #222222;
     border-radius: 3px;
}

QCheckBox {
	spacing: 2px; 
	color: #BBBBBB;
}

QCheckBox::indicator {
	width: 20px;
	height: 20px;
}

QCheckBox::indicator:unchecked {
	image: url(image/checkbox_unchecked.png);
}

QCheckBox::indicator:checked {
	image: url(image/checkbox_checked.png); 
}